package com.zhongwang.mms.gen.mapper;

import com.zhongwang.mms.gen.entity.BShoppingPlan;
import com.zhongwang.mms.gen.entity.BShoppingPlanExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface BShoppingPlanMapper {
    long countByExample(BShoppingPlanExample example);

    int deleteByExample(BShoppingPlanExample example);

    int deleteByPrimaryKey(Integer sppId);

    int insert(BShoppingPlan record);

    int insertSelective(BShoppingPlan record);

    List<BShoppingPlan> selectByExample(BShoppingPlanExample example);

    BShoppingPlan selectByPrimaryKey(Integer sppId);

    int updateByExampleSelective(@Param("record") BShoppingPlan record, @Param("example") BShoppingPlanExample example);

    int updateByExample(@Param("record") BShoppingPlan record, @Param("example") BShoppingPlanExample example);

    int updateByPrimaryKeySelective(BShoppingPlan record);

    int updateByPrimaryKey(BShoppingPlan record);
}